<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/taglibs.jsp"%>
<%@include file="../../common/_head.jsp"%>
<html>
<head>
    <link  rel="stylesheet" href="<%=path%>/assets/layuiadmin/layui/css/modules/formSelects/formSelects-v4.css">
</head>
<body>
<div class="layui-form" lay-filter="layuiadmin-form-data" id="layuiadmin-form-data" style="padding: 20px 30px 0 0;">
    <input style="display: none" name="id" id="id" value="">
    <div class="layui-form-item">
        <label class="layui-form-label">名称</label>
        <div class="layui-input-block">
            <input type="text" name="name" id="name" class="layui-input" lay-verify="required" autocomplete="off">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">地址</label>
        <div class="layui-input-block">
            <input type="text" name="url" id="url" class="layui-input" lay-verify="required" autocomplete="off">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">预览图</label>
            <div class="layui-input-inline">
                <div style="width: 92px; height: 92px;" id="iconDiv">
                    <img class="layui-upload-img" id="iconImg" style="width: 100%; height: 100%;" lay-verify="img-verify">
                </div>
                <i class="layui-icon layui-icon-add-1" id="iconAdd" style="position: absolute; top: 30px; right: 128px; font-size: 30px"></i>
                <i class="layui-icon layui-icon-close-fill" id="iconDel" style="color: red; position: absolute; right: 90px; top: -6px; z-index: 1;"></i>

                <input type="text" style="display: none" name="img" id="icon">
            </div>
        </div>
    </div>

    <div class="layui-form-item layui-hide">
        <button class="layui-btn" lay-submit="" lay-filter="data-submit" id="data-submit">提交</button>
    </div>
</div>

<script src="<%=path%>/assets/plupload-2.1.2/js/plupload.full.min.js"></script>
<script src="<%=path%>/assets/crypto-js/aes.js"></script>
<script src="<%=path%>/assets/crypto-js/aes-util.js"></script>
<script src="<%=path%>/assets/ali/oss/upload.js"></script>
<script src="<%=path%>/js/channelmanage/config/edit.js?v=1.1.0"></script>
</body>
</html>
